home *** CD-ROM | disk | FTP | other *** search
/ OpenGL Superbible (2nd Edition) / OpenGL SuperBible e2.iso / tools / Mesa-3.0 / XDEMOS / Makefile.cygnus < prev    next >
Encoding:
Makefile  |  1997-10-04  |  1.7 KB  |  77 lines

  1. # Makefile for demo programs
  2. # Stephane Rehel (rehel@worldnet.fr) April 13 1997
  3.  
  4. # Mesa 3-D graphics library
  5. # Version:  2.4
  6. # Copyright (C) 1995-1997  Brian Paul
  7. #
  8. # This library is free software; you can redistribute it and/or
  9. # modify it under the terms of the GNU Library General Public
  10. # License as published by the Free Software Foundation; either
  11. # version 2 of the License, or (at your option) any later version.
  12. #
  13. # This library is distributed in the hope that it will be useful,
  14. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  16. # Library General Public License for more details.
  17. #
  18. # You should have received a copy of the GNU Library General Public
  19. # License along with this library; if not, write to the Free
  20. # Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  21.  
  22.  
  23. # $Id: Makefile,v 1.3 1997/02/15 11:11:21 brianp Exp $
  24.  
  25. # $Log: Makefile,v $
  26. # Revision 1.3  1997/02/15 11:11:21  brianp
  27. # added stex3d demo
  28. #
  29. # Revision 1.2  1997/02/13 18:25:08  brianp
  30. # added morph3d demo
  31. #
  32. # Revision 1.1  1997/02/13 18:21:00  brianp
  33. # Initial revision
  34. #
  35.  
  36.  
  37. ##### MACROS #####
  38.  
  39. INCDIR = ../include
  40.  
  41. GL_LIBS = -L../lib -lMesaaux -lMesatk -lMesaGLU -lMesaGL -lm $(WLIBS)
  42.  
  43. LIB_DEP = ../lib/$(GL_LIB) ../lib/$(GLU_LIB) ../lib/$(TK_LIB) ../lib/$(AUX_LIB)
  44.  
  45. PROGS = spin gears bounce gamma gears isosurf morph3d osdemo \
  46.     reflect spin stex3d test0 texobj winpos
  47.  
  48. ### TODO: finish new shadow demo
  49.  
  50.  
  51. ##### RULES #####
  52.  
  53. .SUFFIXES:
  54. .SUFFIXES: .c
  55.  
  56. .c: $(LIB_DEP)
  57.     $(CC) -I$(INCDIR) $(CFLAGS) $< $(GL_LIBS) -o $@
  58.  
  59.  
  60. ##### TARGETS #####
  61.  
  62. default:
  63.     @echo "Specify a target configuration"
  64.  
  65. clean:
  66.     -rm *.o *~
  67.  
  68. realclean:
  69.     -rm $(PROGS:=.exe)
  70.     -rm *.o *~
  71.  
  72. targets: $(PROGS)
  73.  
  74. include ../Make-config
  75.  
  76.  
  77.